package kr.saeildamil.androidstudy.ch07;

import kr.saeildamil.androidstudy.R;
import kr.saeildamil.androidstudy.ch05.FrameEx;
import kr.saeildamil.androidstudy.ch05.GravityEx1;
import kr.saeildamil.androidstudy.ch05.PaddingEx;
import kr.saeildamil.androidstudy.ch05.RelativeEx;
import kr.saeildamil.androidstudy.ch05.TableEx;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;

public class Ch07Main extends Activity {
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.ch07_main);
	}
	public void mOnClick(View v){
		switch(v.getId()){
		case R.id.ch07_btn01:
			startActivity(new Intent(this, CustomViewEx.class));
			break;
		case R.id.ch07_btn02:
			startActivity(new Intent(this, PrePaint.class));
			break;
		case R.id.ch07_btn03:
			startActivity(new Intent(this, DrawBitmapEx.class));
			break;
		case R.id.ch07_btn04:
			startActivity(new Intent(this, ToastLayoutEx.class));
			break;
		case R.id.ch07_btn05:
			startActivity(new Intent(this, Vibrate.class));
			break;
	
		}
	}
}
